<!DOCTYPE html>
<html>
<head>
	<title>函数提升</title>
</head>
<body>
<script type="text/javascript">
	
	test();
	function test() {
		alert(test);
	}

	// 函数提升

</script>
</body>
</html>